/*
@author https://yunp.top
 */
@file:JsQualifier("starling.core")

package starling.core

import openfl.display.Stage
import openfl.geom.Rectangle
import openfl.display.Stage3D
import starling.display.Sprite
import starling.events.EventDispatcher

open external class Starling(
    rootClass: JsClass<out Sprite>,
    stage: Stage,
    viewPort: Rectangle = definedExternally,
    stage3D: Stage3D = definedExternally,
    renderMode: String = definedExternally,
    profile: Any = definedExternally
) : EventDispatcher {

    fun start()
}